﻿using SmartWMS.Domain.Base;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SmartWMS.Domain.StatementManage
{
    /// <summary>
    /// 库存清单
    /// </summary>
    public class Inventory : KeyEntity
    {
        /// <summary>
        /// 产品编号
        /// </summary>
        [MaxLength(30)]
        public string? ProductCode { get; set; }

        /// <summary>
        /// 产品名称
        /// </summary>
        [MaxLength(50)]
        public string? ProductName { get; set; }

        /// <summary>
        /// 产品规格
        /// </summary>
        [MaxLength(10)]
        public string? ProductSpecification { get; set; }

        /// <summary>
        /// 类别
        /// </summary>
        [MaxLength(20)]
        public string? Sort { get; set; }

        /// <summary>
        /// 存储单位
        /// </summary>
        [MaxLength(10)]
        public string? Unit { get; set; }

        /// <summary>
        /// 仓库
        /// </summary>
        public int WarehouseId { get; set; }

        /// <summary>
        /// 库位
        /// </summary>
        public int LocationId { get; set; }
    }
}
